﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace Authority.Entity
{
    //模块操作表
    [DataContract]
    [Table("Base_Controls")]
    public class Controls : DoNet.FrameWork.DomainModel.Entity
    {

        [DataMember]
        public Guid ModulesId { get; set; }

        [DataMember]
        public int? PermisionType { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string SortCode { get; set; }

        //[ForeignKey("ModulesId")]
        //public virtual Modules Modules { get; set; }

    }
}